.\tools\nuget\NuGet.exe install .\objectflow.core\packages.config -outputdirectory packages
.\tools\nuget\NuGet.exe install .\objectflow.core.tests\packages.config -outputdirectory packages
.\tools\nuget\NuGet.exe install .\objectflow.core.integration\packages.config -outputdirectory packages

if "%1%" == "" goto ReleaseBuild

%windir%\Microsoft.NET\Framework\v3.5\msbuild.exe build\build.proj %1%


:ReleaseBuild
%windir%\Microsoft.NET\Framework\v3.5\msbuild.exe build\build.proj /filelogger /p:configuration=Release
pause